//
//  File.swift
//  
//
//  Created by Jiang Chencheng on 2024/9/12.
//

import Fluent

extension QueryBuilder {
    
    func exist() async throws -> Bool {
        try await self.count().get() > 0
    }
}
